<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML>
<html>
  <head>
    
    <title>修改<s:property value="email"/>信息</title>
    
<style>
	<!--
	table {
	table-layout: fixed;
	word-wrap:break-word;
	}
	td{
		
		word-break:break-all;
	}
	
	}
	//-->
</style>
<script type="text/javascript">

$(function() {
	$("select option[value=<s:property value="operator.departmentid_operator"/>]").attr('selected','selected'); 
});
</script>
  </head>
  
  <body>
    <table  width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	<tr valign="top">
  		<td>
  			<jsp:include page="/background/operator/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	<tr valign="top">
  		<td>
  			<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 <tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">
    		 
    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
		  	<jsp:include page="/background/operator/left.jsp"></jsp:include>
				 
				 
				
     	</td>
     	
     	
     	<td valign="top" >
     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    	 <tr>
     		<td>
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		<tr>
     			<td>详细信息</td>
     		</tr>
     	</table>
     	</td>
     		</tr>
 <tr>
     		<td>
     		<FONT color="red"><s:property value="operationResult"/></FONT>
     			<s:fielderror id="errormessage" />
     			<br/>
     	<form action="modifyoperatorinfo_background.action" method="post" accept-charset="utf-8">
			<table align="left"  border="0"  cellspacing="0" cellpadding="0" >
				<tr>
					
					<td width="110" align="right"></td>
					<td></td>
					<td></td>
				</tr>
			
				<tr>
					<td>用户:</td>
					<td><FONT size="5"><s:property value="operator.name_operator"/></FONT></td>
					<td></td>
				</tr>
				
				<tr>
					<td>First name:</td>
					<td>
						<input id="firstname_operator" name="firstname_operator" type="text" value="<s:property value="operator.firstname_operator"/>">
						
					</td>
					<td></td>
				</tr>
				
				<tr>
					<td>Last name:</td>
					<td>
						<input id="lastname_operator" name="lastname_operator" type="text" value="<s:property value="operator.lastname_operator"/>">
						
					</td>
					<td></td>
				</tr>
				
				<tr>
						<td width="100">部门:</td>
						<td>
							<select id="id_department" name="id_department">
								<s:iterator id="departmentMap" value="departmentMap">  
									<s:if test="value.parentid_department == 0">
									<option value="<s:property value="value.id_department"/>">--<s:property value="value.name_department"/></option>
									</s:if>
									<s:elseif test="value.parentid_department == 1">
									<option value="<s:property value="value.id_department"/>">----<s:property value="value.name_department"/></option>
									</s:elseif>
									<s:else>
									<option value="<s:property value="value.id_department"/>">------<s:property value="value.name_department"/></option>
									</s:else>
								</s:iterator>
							</select>
						</td>
						<td>
							<font color="red"></font>
						</td>
					</tr>
				
				<tr>
					<td>EMAIL:</td>
					<td><s:property value="operator.email_operator"/>
					<input id="email_operator" name="email_operator" type="hidden" value="<s:property value="operator.email_operator"/>">
					</td>
					<td></td>
				</tr>
				
				<tr>
					<td>QQ:</td>
					<td>
					
					<input id="qq_operator" name="qq_operator" type="text" value="<s:property value="operator.qq_operator"/>">
					</td>
					<td></td>
				</tr>
				
				<tr>
					<td>手机号:</td>
					<td>
						<input id="mobile_operator" name="mobile_operator" type="text" value="<s:property value="operator.mobile_operator"/>">
						
					</td>
					<td></td>
				</tr>
				
				<tr>
					<td>坐机号:</td>
					<td>
						<input id="phone_operator" name="phone_operator" type="text" value="<s:property value="operator.phone_operator"/>">
						
					</td>
					<td></td>
				</tr>
				
				<tr>
					<td>办公地址:</td>
					<td>
						<input id="office_operator" name="office_operator" type="text" value="<s:property value="operator.office_operator"/>">
						
					</td>
					<td></td>
				</tr>
				
				<tr>
					<td>住址:</td>
					<td>
						<input id="address_operator" name="address_operator" type="text" value="<s:property value="operator.address_operator"/>">
						
					</td>
					<td></td>
				</tr>
				
				
				<tr>
					
					<td></td>
					<td> <button type="submit"> 修改 </button></td>
					<td></td>
				</tr>
				
				
			</table>
		</form>
	</td>
     		</tr>
     		 <tr>
     		<td>

     	</td>
     	</tr>
     	<tr>
     		<td>
     			
     		</td>
     	
     	</tr>
     	
     	
     	</table>
	</td>
</tr>
</table>
  		
  		</td>
  	</tr>
  	<tr valign="bottom">
  		<td>
  			<jsp:include page="/manual/tail.jsp"></jsp:include>
  		</td>
  	</tr>
  </table>
 
  
  </body>
  
</html>
